package com.jeespring.admin.controller;

/**
 * @Title: Result
 * @Description:
 * @Author 张朝阳
 * @Date 2019/5/8 22:55
 */
public class Result {
    private int code ;

    public Result(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static Result success(){
        return new Result(200);
    }
}
